#!/bin/bash
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "00_start.o" "../tutorials/source/00_start.cpp"
g++ -L/usr/local/lib -o "../Build/00_start"  ./00_start.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 00 (start) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "01_sound.o" "../tutorials/source/01_sound.cpp"
g++ -L/usr/local/lib -o "../Build/01_sound"  ./01_sound.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 01 (sound) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "02_3D.o" "../tutorials/source/02_3D.cpp"
g++ -L/usr/local/lib -o "../Build/02_3D"  ./02_3D.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 02 (3D) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "03_cpuload.o" "../tutorials/source/03_cpuload.cpp"
g++ -L/usr/local/lib -o "../Build/03_cpuload"  ./03_cpuload.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 03 (cpuload) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "04_errors.o" "../tutorials/source/04_errors.cpp"
g++ -L/usr/local/lib -o "../Build/04_errors"  ./04_errors.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 04 (errors) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "05_channels.o" "../tutorials/source/05_channels.cpp"
g++ -L/usr/local/lib -o "../Build/05_channels"  ./05_channels.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 05 (channels) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "06_reverb.o" "../tutorials/source/06_reverb.cpp"
g++ -L/usr/local/lib -o "../Build/06_reverb"  ./06_reverb.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 06 (reverb) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "07_devices.o" "../tutorials/source/07_devices.cpp"
g++ -L/usr/local/lib -o "../Build/07_devices"  ./07_devices.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 07 (devices) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "08_dsp.o" "../tutorials/source/08_dsp.cpp"
g++ -L/usr/local/lib -o "../Build/08_dsp"  ./08_dsp.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 08 (dsp) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "09_occlusion.o" "../tutorials/source/09_occlusion.cpp"
g++ -L/usr/local/lib -o "../Build/09_occlusion"  ./09_occlusion.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 09 (occlusion) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "10_streamfromdisk.o" "../tutorials/source/10_streamfromdisk.cpp"
g++ -L/usr/local/lib -o "../Build/10_streamfromdisk"  ./10_streamfromdisk.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 10 (streaming from disk) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "11_time.o" "../tutorials/source/11_time.cpp"
g++ -L/usr/local/lib -o "../Build/11_time"  ./11_time.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 11 (time) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "12_2D.o" "../tutorials/source/12_2D.cpp"
g++ -L/usr/local/lib -o "../Build/12_2D"  ./12_2D.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 12 (2D) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "13_fade.o" "../tutorials/source/13_fade.cpp"
g++ -L/usr/local/lib -o "../Build/13_fade"  ./13_fade.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 13 (fade) built"
g++ -std=gnu++11 -I/usr/local/include/YSE -c -o "14_playlist.o" "../tutorials/source/14_playlist.cpp"
g++ -L/usr/local/lib -o "../Build/14_playlist"  ./14_playlist.o   -lYSE -lsndfile -lportaudio -lboost_atomic
echo "Tutorial 14 (playlist) built"
